﻿// =================================================================== 
// 项目说明
//====================================================================
// liucx @Copy Right 2019
// 文件： MailAddressEntity.cs
// 项目名称：斑马车务
// 创建时间：2019/9/17
// 负责人：liucx
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
    /// <summary>
    ///收件地址数据实体  
    /// </summary>
    [PrimaryKey("MailAddressID")]
    public class MailAddress
    {
        ///<summary>
        ///收件地址
        ///</summary>
        public MailAddress()
        {
        }


        ///<summary>
        ///
        ///</summary>
        [Column("MailAddressID", "")]
        public int MailAddressID { get; set; }

        ///<summary>
        ///用户ID
        ///</summary>
        [Column("UserID", "用户ID")]
        public long UserID { get; set; }

        ///<summary>
        ///收件人姓名
        ///</summary>
        [Column("MailUserName", "收件人姓名")]
        public string MailUserName { get; set; }

        ///<summary>
        ///收件人手机
        ///</summary>
        [Column("MailUserMobile", "收件人手机")]
        public string MailUserMobile { get; set; }

        ///<summary>
        ///收件省市
        ///</summary>
        [Column("MailAreaID", "收件省市")]
        public int MailAreaID { get; set; }

        ///<summary>
        ///收件地址
        ///</summary>
        [Column("MailAddr", "收件地址")]
        public string MailAddr { get; set; }

        ///<summary>
        ///是否有效(0：无效，1：有效）
        ///</summary>
        [Column("IsActive", "是否有效(0：无效，1：有效）")]
        public int IsActive { get; set; }

        ///<summary>
        ///创建时间
        ///</summary>
        [Column("CreatedDate", "创建时间")]
        public DateTime CreatedDate { get; set; }

        ///<summary>
        ///修改时间
        ///</summary>
        [Column("UpdatedDate", "修改时间")]
        public DateTime UpdatedDate { get; set; }

        ///<summary>
        ///是否默认(0:否，1：默认)
        ///</summary>
        [Column("IsDefault", "是否默认(0:否，1：默认)")]
        public int IsDefault { get; set; }

    }
}